package com.example.security.assembly;

import com.example.security.config.PasswordEncoderConfig;
import com.example.sys.component.AbstractPasswordEncoder;
import org.springframework.stereotype.Component;

@Component
public class PasswordEncoderService extends AbstractPasswordEncoder {
    @Override
    public String encode(String str) {
        return PasswordEncoderConfig.passwordEncryption(str);
    }
}
